import { Request as ExpressRequest } from 'express';

export type User = {
    id: string;
    username: string;
    type: 'user' | 'admin';
    roles?: string[];
}

export interface Request extends ExpressRequest {
    user: User
}
